<div class="row-fluid sortable ui-sortable">
	<div id="form-peternakan" class="box span12">
		<div class="box-header well" data-original-title>
			<h2 id="action-title">Menambahkan Data Peternakan</h2>
			<div class="box-icon">
				<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
			</div>
		</div>
		<div class="box-content">
			<form id="form-edit-peternakan" method="post" action="<?php echo base_url();?>peternakan/tambah_peternakan" style="width: 43%; float: left;">
				<table class="table">
					<tbody>
						<tr>
						<td><label class="control-label">Kota</label></td>
							<td>
								<div class="controls">
								  <select data-rel="chosen" id="id-kota" name='kota'>
									<?php
										foreach($kota as $row){
										echo "<option value='".$row["ID_KOTA"]."'>".$row["NAMA_KOTA"]."</option>";
										}
									?>
								  </select>
								</div>
							</td>
						</tr>
						<tr>
							<td><label class="control-label">Nama</label></td>
							<td><input id="nama" type="text" name="nama"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Alamat</label></td>
							<td><input id="alamat" type="text" name="alamat"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Telepon</label></td>
							<td><input id="no-telp" type="text" name="telepon"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Email</label></td>
							<td><input id="email" type="text" name="email"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Kode Pos</label></td>
							<td><input id="kode-pos" type="text" name="kode-pos"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Tanggal Berdiri</label></td>
							<td><input id="tgl-berdiri" type="text" name="tgl-berdiri" class="input-xmedium datepicker"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Jumlah Sapi</label></td>
							<td><input id="jumlah-sapi" type="text" name="jumlah"></input></td>
						</tr>
						<tr>
							<td><label class="control-label">Info</label></td>
							<td><textarea id="info" name="info"></textarea></td>
						</tr>
						<tr>
							<td></td>
							<input type="hidden" id="id-titik-pasok" name="id-titik-pasok" value=""></input>
							<input type="hidden" id="lng" name="lng" value=""></input>
							<input type="hidden" id="lat" name="lat" value=""></input>
							<td>
								<input type="reset" class="btn" value="Reset" onclick="resetForm();"></input>
								<input id="button-panel" type="submit" class="btn"></input>
							</td>
						</tr>
					</tbody>
				</table>
			</form>
			 <div id="gmap2" style="float: left; width:56%;height:400px;"></div>
		</div>
	</div>
</div>